/*
 * @Author: your name
 * @Date: 2022-01-12 09:56:46
 * @LastEditTime: 2022-08-04 16:29:23
 * @LastEditors: 代琪 1529992814@qq.com
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \code\ctp-static-portal-front\src\views\loginPrePortal\app.js
 */
import 'console-polyfill';
import Vue from 'vue';
import App from './main.vue';
//
import '../../assets/css/common.scss';

// 不允许使用全局组件
// import components from "./common";

// 引入elementui组件库
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';

import axios from 'axios';

//引入vuex 
// import store from '@/store/index.js';

// 引入全局方法
import '../../utils/global.js';
import 'swiper/dist/idangerous.swiper.css';
import Swiper from 'swiper/dist/idangerous.swiper.js';
import commonComponents from '@/components/common';
Vue.use(commonComponents);
window.Swiper = Swiper;
// var eventBus = new Vue()
// 使用
// Vue.use(ElementUI);

Vue.prototype.axios = axios
// Vue.prototype.eventBus = eventBus

new Vue({
  // store,
  el: '#app',
  render() {
    return <App />;
  },
});
